pp108 : onpropertychanged Event (Calendar)

onpropertychanged Event (Calendar)

 


Fires when property values of the calendar are changed.

Syntax

Inline HTML

<div cordysType="wcp.libaray.ui.Calendar "  id=calendarID onpropertychanged="handler()" style="position:absolute;display:none;width:150;height:137" >
...
</div>

Event property

calendarID.onpropertychanged = handler

 

Event Information

To invoke

Change the date value using the calendar control, or set the parent field for the control.

Default Action

Updates the date value with the selection made, or sets the parent field for the control and initiates any action associated with this event.

 

Event Object Properties


Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.

Property

Description

propertyName

Read-only. Below mentioned are the values:

  • readOnly: when the control is set to read only.
  • parentField: when an element is associated as parent field.
  • valueIsNull: when the date value is set to null.
  • day: when the day is changed.
  • month: when the month is changed.
  • year: when the year is changed.
  • value: after setting the whole date value.

 

See Also


calendar